package cn.iocoder.yudao.module.scrm.feign.flow;

import cn.iocoder.yudao.module.scrm.feign.configuration.ApproveRequestInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@FeignClient(name = "zysx-flowlong", configuration = ApproveRequestInterceptor.class)
public interface ApproveApi {
    String PREFIX = "/process/";

    @PostMapping(PREFIX + "instance-start")
    R instanceStart(@Valid @RequestBody InstanceStartVO vo);
}
